import unittest
from unittest.mock import patch

import os
import sys
import logging
import warnings
import threading
import time

path = os.path.dirname(os.path.dirname(
    os.path.dirname(os.path.dirname(__file__))))
sys.path.insert(0, path)

from contract_market.initialize import config  # NOQA
from contract_market.utils.dqueue import PriorityQueue  # NOQA
from contract_market.initialize import config  # NOQA
from contract_market.initialize.config import *  # NOQA
from contract_market.core.actor import *  # NOQA
from contract_market.core.core import *  # NOQA
from contract_market.server.engine import EventEngine, QuantListener  # NOQA
from contract_market.common.common import EventSystemEngine  # NOQA
from contract_market.common.constant import *  # NOQA
from contract_market.initialize.log import InitLogConfig  # NOQA
from contract_market.strategy.image.depth import * # NOQA


class TestDepth(unittest.TestCase):

    def test_init(self):
        """ """
        a = DepthLevel()
        a.append(1)
        print(a)

        b = DepthLevel()
        print(b.data)
        pass


if __name__ == "__main__":

    unittest.main()
